﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasertTemplates.Master" AutoEventWireup="true" ViewStateMode="Disabled" CodeBehind="ContactPersonList.aspx.cs" Inherits="WebApplication.ContactPersonList" %>
<%@ Register TagPrefix="uc1" TagName="usermeg" Src="~/UserControl/UserMessageControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="maintab" Src="~/UserControl/MainTabControl.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.clsWarningMeg{ color:Red;}
.labelTb tr td{ width:33%;}
</style>
<script type="text/javascript" src="Media/Js/BankScript.js"></script>
<script type="text/javascript" src="Media/AjaxJs/ContactPerson.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        //tab2 selected
       // checkTab("t3");        
    })
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:HiddenField ID="hdCustomerUID" runat="server" /><input id="hdcommitteeMemberID" type="hidden" />
            <asp:HiddenField ID="hdCPUID" runat="server" />
<input type="hidden" value="t3" id="pageName" />
 <div class="content-title"><h1>Customer - Contact Person</h1></div> 
         <div class="con-nav"><a href="#" class="btn"><span class="ui-icon ui-icon-newwin"></span>Add New Customer</a>
               </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
<uc1:usermeg ID="usermeg" runat="server" ></uc1:usermeg>        
    <div class="partWrap">
    <uc1:maintab ID="maintab"  runat="server"/>
  <div class="clear20"></div>    
    <ul class="uibtn">
    	<li><a href="ContactPerson.aspx?uid=<%=uid %>"></a>Add Contact Person</li>
	</ul>
<div class="wrapToggle"  id="wrapToggle">
	<div class="clear20"></div>     
	<div class="bankwrap">
        <asp:Repeater ID="rptCPList" runat="server">
        <ItemTemplate>
            <div class="tb-wrap round">	
	            <div class="tb-top round">	
	            <span id="search-btn0" class="tb-slide">&nbsp;</span>
	            <a href="Contactperson.aspx?uid=<% =uid %>&cpuid=<%#Eval("CPUID") %>"><img src="Media/Css/images/Write-form.png" class="edit" /></a>
	            <img src="Media/Css/images/del-form.png" class="delete" />
	            </div>
	            <div class="tb-cont">
	             <table width="500" border="0" cellspacing="0" cellpadding="0" class="tab-list-table">
	              <tr>
		            <td width="100" class="tleft">Contact Person</td>
		            <td width="2">&nbsp;</td>
		            <td width="388"><%#Eval("strCP")%></td>
	              </tr>
	              <tr>
		            <td class="tleft">Attribute</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("strAttribute")%></td>
	              </tr>
	              <tr>
		            <td class="tleft">Job Nature</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("strJobNature")%></td>
	              </tr>
	  	          <tr>
		            <td class="tleft">Committee Member</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("strCommitteeMember")%></td>
	              </tr>
	  	          <tr>
		            <td class="tleft">Address</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("FullAdd_Eng")%> <br/>
                        <%#Eval("FullAdd_Chi")%></td>
	              </tr>
	              <tr>
		            <td class="tleft">Telephone</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("strTel")%></td>
	              </tr> 
	              <tr>
		            <td class="tleft">Fax</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("strFax")%></td>
	              </tr>
	              <tr>
		            <td class="tleft">Email</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("Email")%></td>
	              </tr>
	              <tr>
		            <td class="tleft">website</td>
		            <td>&nbsp;</td>
		            <td><%#Eval("WebSite")%></td>
	              </tr>
	            </table>	
	            </div>
            </div>
        </ItemTemplate>
        </asp:Repeater>
	    <div class="clear10"></div>
		</div>
	</div>
    </div>
</asp:Content>
